home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 5
/
Amiga Tools 5.iso
/
grafik
/
3d & render tools
/
irit
/
man
/
man6
/
while.6
< prev
next >
Wrap
Text File
|
1996-07-16
|
629b
|
29 lines
.TH WHILE
6 "IRIT Version 6.0"
.SH NAME
WHILE
WHILE( NumericType Cond, AnyType Body )
Executes the Body (see below), while the WHILE loop conditions
Cond is evaluated into a non zero value. Cond is being
evaluated before each iteration.
The body may consist of any number of regular commands, separated by
COLONs, including nesting loops to an arbitrary level.
Example:
deg = 0;
rotstepx = rotx( 10 );
WHILE ( deg < 360,
deg = deg + 10:
view_mat = rotstepx * view_mat:
view( list( view_mat, axes ), ON )
);
Displays axes with a view direction that is rotated 10 degrees at a
time around the X axis.